﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Common;
using FarseerPhysics.Collision.Shapes;
using FarseerPhysics.Factories;
using FarseerPhysics.Dynamics.Contacts;

namespace chemicall
{
    class Anion : Agent
    {
        /*--CONSTS--*/
        public const string CHAR_ASSETNAME = "anion";
        public const int ANION_ID = 2;
        public const int ANION_SPEED = 50;

        public Anion(/*Point screenCenter,*/ double distance, SoundManager sM) : base(/*screenCenter,*/ distance, sM)
        {
        }

        public void LoadContent(ContentManager contentManager, World world, Vector2 position, Nullable<Rectangle> entitySize, Nullable<Rectangle> spriteSize)
        {
            base.LoadContent(contentManager, CHAR_ASSETNAME, world, position, entitySize, spriteSize, this);
            speed.X = ANION_SPEED;
            currAnim = 1;
        }

        public void Update(GameTime gameTime)
        {          
            base.Update(gameTime);
        }

        public void setStable()
        {
            stable = true;
        }

    }
}
